package com.wwj.core.wawa.entity.mapper;

import com.wwj.core.wawa.entity.WaWa;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/3.
 */
public interface WawaMapper {
    WaWa selectWawaById(Integer id);

    List<WaWa> selectByPage(Map<String,Object> params)throws Exception;

    WaWa findByName(Map<String,Object> params);

    void addWaWa(WaWa wawa);

    void deleteById(Integer id);

    void updateIncoming(WaWa waWa);

    WaWa findById(Integer id);

    void updateWaWa(WaWa waWa);

    WaWa findLastCode();

    List<WaWa> selectWaWaByWaWaType(Integer wawaTypeId);
}
